myApp.factory('$serAfterService', function ($serApiSend ) {
    return {
        getList:function(data){  //售后
            return $serApiSend(data, 'AfterService/getList');
        },
        getIt:function(data){  //售后详情
            return $serApiSend(data, 'AfterService/getIt');
        },
        setApproved:function(data){  //通过，
            return $serApiSend(data, 'AfterService/setApproved');
        },
        setRejected:function(data){  //驳回，
            return $serApiSend(data, 'AfterService/setRejected');
        },
        setRecevied:function(data){  //收货，
            return $serApiSend(data, 'AfterService/setRecevied');
        },
        setDone:function(data){  //结束
            return $serApiSend(data, 'AfterService/setDone');
        },
        backStock:function(data){  //恢复库存
            return $serApiSend(data, 'AfterService/backStock');
        },
        addCommnt:function(data){  //添加备注
            return $serApiSend(data, 'AfterService/addCommnt');
        },
        refund:function(data){  //设置退款金额
            return $serApiSend(data, 'AfterService/refund');
        },
    }
});
